package com.geekaca.ssm.service;

import com.geekaca.ssm.domain.Brand;

import java.util.List;

public interface BrandService {
    List<Brand> getAll();

    List<Brand> getAllBrands(Brand brand, Integer pageNo, Integer pageSize);

    int addBrand(Brand brand);

    int delBrand(Brand brand);

    int updateBrand(Brand brand);

    Brand selectById(Integer id);

    Brand getByid(Integer id);
}
